﻿namespace apitest.Application.Entities.Pms
{
    /// <summary>
    /// 企业微信人员 最新（一天更新一次）
    /// </summary>
    [SugarTable("WeChatUser_RT")]
    [Tenant("default")]
    public class WeChatUser_RT
    {
        public string UserId { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public long Department { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 英文名
        /// </summary>
        public string English_Name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public GenderEnum Gender { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string Position { get; set; }

        /// <summary>
        /// 座机
        /// </summary>
        public string Telephone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
    }

    public enum GenderEnum
    {
        男 = 1,
        女 = 2
    }
}
